AM_CPPFLAGS += \
    -I$(top_srcdir)/ccstruct -I$(top_srcdir)/ccutil \
    -I$(top_srcdir)/cutil -I$(top_srcdir)/classify \
    -I$(top_srcdir)/dict \
    -I$(top_srcdir)/viewer -DUSE_STD_NAMESPACE

if VISIBILITY
AM_CPPFLAGS += -DTESS_EXPORTS \
    -fvisibility=hidden -fvisibility-inlines-hidden
endif

noinst_HEADERS = \
    associate.h chop.h \
    chopper.h drawfx.h findseam.h gradechop.h \
    language_model.h lm_consistency.h lm_pain_points.h lm_state.h \
    measure.h \
    outlines.h params_model.h plotedges.h \
    render.h \
    wordrec.h

noinst_LTLIBRARIES = libtesseract_wordrec.la

libtesseract_wordrec_la_SOURCES = \
    associate.cpp chop.cpp chopper.cpp \
    drawfx.cpp findseam.cpp gradechop.cpp \
    language_model.cpp lm_consistency.cpp lm_pain_points.cpp lm_state.cpp \
    outlines.cpp params_model.cpp pieces.cpp \
    plotedges.cpp render.cpp segsearch.cpp \
    tface.cpp wordclass.cpp wordrec.cpp
